<?php

class NewsModule extends MyModule
{
	public function beforeControllerAction($controller, $action)
	{
		if(parent::beforeControllerAction($controller, $action))
		{
			// this method is called before any module controller action is performed
			// you may place customized code here
			return true;
		}
		else
			return false;
	}

	public static function t($str='', $source='common', $params=array()) {
		return Yii::t("NewsModule.".$source, $str, $params);
	}
}
